import axios from "axios"

const request=axios.create({
    baseURL:"http://api_devss.wanxikeji.cn",
    timeout:5000
})
request.interceptors.response.use(res=>{
    let {status,data}=res
    if(status===200){
        return data
    }
    return res
},err=>{
    return err
})
export  default  request

